Update team invitation
PUT /api/v1/Teams/invite/update
Description
This endpoint is used to update an invitation for a team.
Tags: Teams
URL: /api/v{version}/Teams/invite/update
ApiKey: No API key required
Content-Type: application/json, text/json, application/*+json
Path Parameters:
-
version: string, required
-
Accept-Language: header, optional, change the default response message language from English(en) to French(fr) or English(en)
Request Body: -
UpdateInviteCommand
Response:
Success, returns a string response.
Error Codes: -
400: Bad Request
-
404: Not Found
Example:
JSON
PUT /api/v1/Teams/invite/update
{
"TeamId": "123",
"Email": "invite@example.com"
}
Plain Text
HTTP/1.1 200 OK
{
"Message": "Invite updated successfully"
}
/api/v1/Teams/invite/update
Headers
| Content-Type | Value |
|---|---|
| Accept-Language |
Headers
| Content-Type | Value |
|---|---|
| Content-Type | application/json |
Headers
| Content-Type | Value |
|---|---|
| Accept | text/plain |
Body (raw)
{
"id": `<uuid>`,
"email": `<string>`,
"role": 4
}
Response: 200
{
"succeeded": `<boolean>`,
"message": `<string>`,
"errors": [
`<string>`,
`<string>`
],
"data": `<string>`
}
LANGUAGE
CURL REQUEST
curl --request PUT \
--url /api/v1/Teams/invite/update \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!